package com.buddy.jni.demo02;

public class HelloJNICpp {
    static {
        System.loadLibrary("hello_02"); // hello.dll (Windows) or libhello.so (Unixes)
    }

    // Native method declaration
    private native void sayHello();

    // Test Driver
    public static void main(String[] args) {
        new HelloJNICpp().sayHello();  // Invoke native method
    }
}
